home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Converters / Convert_MacPaint / Source / shared.subproj / MacToNeXTText.h < prev    next >
Text File  |  1995-06-12  |  2KB  |  51 lines

  1. /***********************************************************************\
  2. Common class for converting Mac to NeXT text in all Convert programs
  3. Copyright (C) 1993 David John Burrowes
  4.  
  5. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version.
  6.  
  7. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
  8.  
  9. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  10.  
  11. The author, David John Burrowes, can be reached at:
  12.     davidjohn@kira.net.netcom.com
  13.     David John Burrowes
  14.     1926 Ivy #10
  15.     San Mateo, CA 94403-1367
  16. \***********************************************************************/
  17.  
  18. /*====================================================================
  19. This is the interface file for the MacToneXtText class.  Full documentation for this class can be found in the MacToNeXTText.rtf file.  I will not duplicate all that fine information here.
  20.  
  21. NOTE: You may find that text doesn't line up properly unless you use the New Century Schoolbook Roman typeface, since this was created with it.
  22.  
  23. INFORMATION:
  24.     This is $Revision: 1.2 $ of this file
  25.     It was last modified by $Author: death $ on $Date: 93/04/04 23:44:34 $
  26.      $Log:    MacToNeXTText.h,v $
  27.  * Revision 1.2  93/04/04  23:44:34  death
  28.  * Sun Apr  4 23:44:34 PDT 1993
  29.  * 
  30.  * Revision 1.1  93/01/10  15:08:00  death
  31.  * Sun Jan 10 15:08:00 PST 1993
  32.  * 
  33. ====================================================================*/
  34.  
  35.  
  36. #import "TextConverter.h"
  37. #import "common.h"
  38.  
  39. @interface MacToNeXTText:TextConverter
  40. {
  41.     Boolean    StrictIM;
  42.     Character    ConvertArray[256];
  43. }
  44.  
  45. - init;
  46. - (Character) ConvertCharacter: (Character) theCharacter;
  47. - (Pointer) ConvertString: (Pointer) theData WithLength: (Integer) length;
  48. - UseIM1:  (Boolean) doItStrictly;
  49. @end
  50.  
  51.